Braintree\Util B

Total Complexity 80
Dependencies 17
Dependents 78
Total lines 520
Lines of code 301
Logical lines of code 171
Comment lines 166
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
throwGraphQLResponseException()
A
47 14 34
throwStatusCodeException()
A
48 10 34
_flattenUserKeys()
A
54 8 20
attributesToString()
S
56 6 17
delimiterToCamelCaseArray()
S
57 5 17
_flattenArray()
S
56 5 17
implodeAssociativeArray()
S
57 5 15
_removeWildcardKeys()
S
60 5 13
camelCaseToDelimiterArray()
S
60 4 13
extractAttributeAsArray()
S
59 3 14
cleanClassName()
S
47 1 37
verifyKeys()
S
62 2 11
buildClassName()
S
56 1 18
delimiterToUnderscoreArray()
S
67 2 8
delimiterToCamelCase()
S
64 2 9
replaceKey()
S
68 2 7
returnObjectOrThrowException()
S
67 2 8
camelCaseToDelimiter()
S
77 1 3
delimiterToUnderscore()
S
78 1 3
isIndexedArray()
S
77 1 3